//
//  SystemNotiModel.m
//  WeCommunity
//
//  Created by mac on 2017/8/11.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import "SystemNotiModel.h"

@implementation SystemNotiModel

+(SystemNotiModel *)setValueFormObject:(id)object
{
    SystemNotiModel * model = [SystemNotiModel new];
    
    model.title = [object objectForKey:@"title"];
    model.message = [object objectForKey:@"message"];
    model.linkUrl = [object objectForKey:@"linkUrl"];
    model.canCancel = [[object objectForKey:@"canCancel"] boolValue];
    model.available = [[object objectForKey:@"available"] boolValue];
    model.version = [object objectForKey:@"version"];
    return model;
}

@end
